package com.wen.open.springframework.beans.factory.support;

import com.wen.open.springframework.beans.factory.config.BeanDefinition;

import java.lang.reflect.Constructor;

/**
 * 实例化策略
 * @author Wen
 * @date 2023/4/23 15:09
 */
public interface InstantiationStrategy {
    Object instantiate(BeanDefinition beanDefinition, String beanName,
                       Constructor ctor, Object[] args);
}
